<?php use_javascript('contact.js');?>
<?php use_javascript('accountCustomer.js');?>
<?php use_javascript('accountSupplier.js');?>
<?php use_javascript('accountOwner.js');?>
<div class="module_title">Contacts</div>
<div id="contactMenuBar" class="menu_bar">
  <?php 
    echo 
      link_to(
        'New', 
        'contact/create',
        array(
          'class'=>'menu_unselected',
          'id'=>'menuContactNew',
        )
      )
  ?>
  <?php 
    echo 
      link_to(
        'Search',
        'contact/search',
        array(
          'class'=>'menu_unselected',
          'id'=>'menuContactSearch',
        )
      )
  ?>
</div>
<div id="<?php echo sfConfig::get('app_windows_main_id')?>" class="<?php echo sfConfig::get('app_windows_main_class')?>">
</div>
<div id="<?php echo sfConfig::get('app_windows_contact_panel_id')?>"  style="display:none"></div>

<script language="javascript">
  $(document).ready(
    function(){
      contactIndexLoad();
    }
  );
</script>
